package com.yimixian.app.model;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2015/8/28.
 */
public class GoodsGiftTypeTrans implements Parcelable{
  public float minTotalPrice;

  public GoodsGiftTypeTrans(
      float minTotalPrice) {
    this.minTotalPrice = minTotalPrice;
  }

  @Override
  public int describeContents() {
    return 0;
  }

  @Override
  public void writeToParcel(Parcel dest, int flags) {
    dest.writeFloat(this.minTotalPrice);
  }

  protected GoodsGiftTypeTrans(Parcel in) {
    this.minTotalPrice = in.readFloat();
  }

  public static final Creator<GoodsGiftTypeTrans> CREATOR = new Creator<GoodsGiftTypeTrans>() {
    public GoodsGiftTypeTrans createFromParcel(Parcel source) {
      return new GoodsGiftTypeTrans(source);
    }

    public GoodsGiftTypeTrans[] newArray(int size) {
      return new GoodsGiftTypeTrans[size];
    }
  };
}
